snapshot: Add _push_collect() and _pop_collect()
authorTimm Bäder <mail@baedert.org>
Fri, 31 Jan 2020 07:05:34 +0000 (08:05 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 7 Feb 2020 18:16:32 +0000 (13:16 -0500)
commitbf8fb2c1a522fa46fbe1b86e5da16158d7c691fe
tree4573cdcfca59700224f35dae4b7fb9ceea1ec51b
parentb7ee2cbc289b4ab8a950cd77bdcd69a6f13932a7
snapshot: Add _push_collect() and _pop_collect()

These will replace the previous gtk_snapshot_new_with_parent(), which
allocated an entirely new GObject just to push()/pop() some state. This
is already a problem but will be more important in the future as we
start using this more.
gtk/gtksnapshot.c
gtk/gtksnapshotprivate.h